﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EMoney.IStock.Client.Models.HD
{
    /// <summary>
    /// 提问
    /// </summary>
    [Serializable]
    public class Topic
    {
        /// <summary>
        /// 提问编号
        /// </summary>
        public int topicid { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string topiccontent { get; set; }
        /// <summary>
        /// 内容链接
        /// </summary>
        public string contenturl { get; set; }
        /// <summary>
        /// 提问者编号
        /// </summary>
        public int authorid { get; set; }
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string username { get; set; }
        /// <summary>
        /// 用户昵称(格式化显示)
        /// </summary>
        public string usernameshow { get; set; }
        /// <summary>
        /// 用户头像地址
        /// </summary>
        public string userpicurl { get; set; }
        /// <summary>
        /// 频道号
        /// </summary>
        public int channelid { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime createtime { get; set; }
        /// <summary>
        /// 引用数量
        /// </summary>
        public int replycount { get; set; }
        /// <summary>
        /// 最后时间
        /// </summary>
        public DateTime lasttime { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public int typeid { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int sort { get; set; }
        public string timeshow { get; set; }
        /// <summary>
        /// 回复信息
        /// </summary>
        public Reply Reply { get; set; }
    }

    /// <summary>
    /// 我的提问
    /// </summary>
    [Serializable]
    public class MyTopic
    {
        /// <summary>
        /// 提问编号
        /// </summary>
        public int TopicID { get; set; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTime lasttime { get; set; }
    }

    /// <summary>
    /// 频道编号
    /// </summary>
    public enum ChannelID
    {
        /// <summary>
        /// 赢在短线
        /// </summary>
        YZDX = 1401005,
        /// <summary>
        /// 新动力
        /// </summary>
        XDL = 1401004,
        /// <summary>
        /// 扭转乾坤
        /// </summary>
        NZQK = 1401006
    }
}
